package com.ruoyi.help.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题移交对象 bbl_help_transfer
 *
 * @author ruoyi
 * @date 2023-05-19
 */
public class Transfer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 问题移交ID
     */
    private Long id;

    /**
     * 移交人
     */
    @Excel(name = "移交人")
    private String transferName;

    /**
     * 接手人
     */
    @Excel(name = "接手人")
    private String takeName;

    /**
     * 移交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "移交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transferTime;

    /**
     * 帮扶任务名
     */
    @Excel(name = "帮扶任务名")
    private String helpName;

    /**
     * 移交备注
     */
    @Excel(name = "移交备注")
    private String transfeNote;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTransferName(String transferName) {
        this.transferName = transferName;
    }

    public String getTransferName() {
        return transferName;
    }

    public void setTakeName(String takeName) {
        this.takeName = takeName;
    }

    public String getTakeName() {
        return takeName;
    }

    public void setTransferTime(Date transferTime) {
        this.transferTime = transferTime;
    }

    public Date getTransferTime() {
        return transferTime;
    }

    public void setHelpName(String helpName) {
        this.helpName = helpName;
    }

    public String getHelpName() {
        return helpName;
    }

    public void setTransfeNote(String transfeNote) {
        this.transfeNote = transfeNote;
    }

    public String getTransfeNote() {
        return transfeNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("transferName", getTransferName())
                .append("takeName", getTakeName())
                .append("transferTime", getTransferTime())
                .append("helpName", getHelpName())
                .append("transfeNote", getTransfeNote())
                .toString();
    }
}
